shortcutProperty

Class: com.microstrategy.web.app.taglibs.ShortcutPropertyTag

Usage:

This custom tag is used for specifying a css style that should be applied to selected and/or unselected elements on the shortcut option list, but in elements that are outside the actual element being displayed.
For instance, the following HTML indicates that the TD that will hold the different elements on the list, if it is a selected one, then it will have CLASS='menuSelected' attribute added to it, otherwise, it will have CLASS='menu' added, so the whole cell containing the option will be formatted according to the element rendered:
 <web:shortcutOptions type="toolbar" ucase="1" shortcutClass="menu" shortcutSelectedClass="menuSelected">
   <web:shortcutProperty name="tdClass" value="CLASS='menu'" selectedValue="CLASS='menuSelected'" />
     <TD WIDTH="1%" NOWRAP applyProperty="tdClass">
         
       <web:shortcutElement/>
         
     </TD>
 </web:shortcutOptions>
 


Name Required? Description
name true Indicates a unique identifier for the property to be added to the tags that include it on its definition.
Usage:
The same name specified in this custom tag as the name property needs to be added to each and every HTML tag inside the ShortcutOptionsTag tag that is required to have the special attributes added to it.
selectedValue true Indicates the property value to add when the shortcut element to render in that pass is marked as selected.
Usage:
An example value of this attribute could be CLASS=selectedClass
value false Indicates the property value to add when the shortcut element to render in that pass is not marked as selected.
Usage:
An example value of this attribute could be CLASS=notSelectedClass